import 'package:flutter/material.dart';
import 'package:get/get_rx/src/rx_types/rx_types.dart';
import 'package:industry_net/pages/home/main/page.dart';
import 'package:industry_net/pages/me/main/page.dart';
import 'package:industry_net/pages/msg/main/page.dart';
import 'package:industry_net/pages/news/main/page.dart';

part 'model.dart';

class TabState {
  final PageController pageController = PageController();

  var currentIndex = 0.obs;

  static var count = 0;

  final items = [
    TabModel(
        icon: 'icon_home_default.png',
        activeIcon: 'icon_home_Selected.png',
        title: '首页'),
    TabModel(
        icon: 'icon_information_default.png',
        activeIcon: 'icon_information_Selected.png',
        title: '资讯'),
    TabModel(
        icon: 'icon_notify_default.png',
        activeIcon: 'icon_notify_Selected.png',
        title: '消息'),
    TabModel(
        icon: 'icon_me_default.png',
        activeIcon: 'icon_me_Selected.png',
        title: '我的')
  ];

  final pages = [HomePage(), NewsPage(), MsgContainerPage(), MePage()];
}
